package cn.tedu.isharefront.base.exception;


import cn.tedu.isharefront.base.response.StatusCode;
import lombok.Getter;

/*
* 功能：自定义异常类
*     处理登录异常
* */
public class ServiceException extends RuntimeException {
    @Getter
    private StatusCode statusCode;

    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
